<%-- 
    Document   : jspprueba
    Created on : 05-04-2013, 01:12:26 AM
    Author     : Emanuel
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@include file="jspf/elementos_codigo.jspf" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>

        <link rel="stylesheet" href="CSS/displaytag.css" type="text/css"/>

        <!-- CSS -->
        <link rel="stylesheet" media="all" type="text/css" href="CSS/jquery-ui-1.9.2.custom.css" />
        <link rel="stylesheet" media="all" type="text/css" href="CSS/jquery-ui-timepicker-addon.css" />
        <link rel="stylesheet" media="all" type="text/css" href="CSS/displaytag.css" />
        <link rel="stylesheet" media="all" type="text/css" href="CSS/sexyalertbox.css"/>

        <!-- JS -->
        <script type="text/javascript" src="JS/jquery-1.9.1.min.js"></script>
        <script type="text/javascript" src="JS/jquery.easing.1.3.js"></script>
        <script type="text/javascript" src="JS/sexyalertbox.v1.2.jquery.js"></script>
        <script type="text/javascript" src="JS/jquery-ui-1.9.2.custom.js"></script>
        <script type="text/javascript" src="JS/jquery-ui-timepicker-addon.js"></script>
        <script type="text/javascript" src="JS/jquery-ui-sliderAccess.js"></script>

        <!-- JS en ESPAÑOl -->
        <script type="text/javascript" src="JS/jquery-ui-datepicker-es.js"></script>
        <script type="text/javascript" src="JS/jquery-ui-timepicker-es.js"></script>


    </head>
    <body>
        <h1>Hello World!</h1>
        <form name="prueba" method="post" action="">

            <div> 
                <div class="display">
                    <jsp:useBean id="personal" scope="request" class="Beans.beanPersonal" />

                    <c:set var="lista" scope="request" value="${personal.listado}"/>
                    <display:table name="lista" export="true" id="fila">
                        <display:setProperty name="export.rtf.filename" value="example.rtf"/>
                        <display:column property="carnet_p" title="CARNET" />
                        <display:column property="nombre_pe" title="NOMBRE" />
                        <display:column property="apellido_pe" title="APELLIDO" />
                        <display:column property="telefono_pe" title="TELEFONO" />
                        <display:column property="correo_pe" title="CORREO" />
                        <display:column property="nombre_pe" title="PERMISO" />

                        <display:column media="csv excel" title="URL" property="url" />
                        <display:column title="Editar">
                            <a href="javascript:enviar()">
                                enviar   </a>                                                    
                            </display:column>
                            <display:setProperty name="export.pdf" value="true" />
                        </display:table>

                </div>
            </div>


            <script>
                $(function() {
                    var fecha = $("#fecha").datepicker({dateFormat: "dd-mm-yy",
                    altField: "#dia", altFormat: "DD"});
                    
                   
                   
                });



            </script>
            <br>
            <br>
            <input type="text" name="fecha" id="fecha" onchange="DIA();"/>
            <input type="text" name="dia" id="dia"/>

        </form>

        
    </body>
</html>
